import { apiHttp } from '/@/utils/axios';
//import type { commonResponse } from './common'



export const getQueryBuildingListApi = params => {   //查在建
  return apiHttp.post({ url: '/dataQuery/queryBuilding', params });
}


export const getStaffLockListApi = params => {   //人员锁定
  return apiHttp.post({ url: '/dataQuery/staffLock', params });
}

export const getPermitApi = params => {   // 施工许可证查询
  return apiHttp.post({ url: '/dataQuery/permit', params });
}

export const getPermitLicenceApi = params => {   // 施工许可证照面信息
  return apiHttp.post({ url: '/dataQuery/permitLicence', params });
}

export const getFinishApi = params => {   // 竣工验收备案信息查询
  return apiHttp.post({ url: '/dataQuery/finish', params });
}

export const getDrawingApi = params => {   // 审查合格书备案查询
  return apiHttp.post({ url: '/dataQuery/drawing', params });
}

export const getLimitApi = params => {   // 行为限制查询
  return apiHttp.post({ url: '/dataQuery/limit', params });
}

export const getPunishApi = params => {   // 行政处罚登记查询
  return apiHttp.post({ url: '/dataQuery/punish', params });
}


export interface Option {
  regionCode: string;
  regionName: string;
  disabled?: boolean;
  children?: Option[];
  [key: string]: any;
}

export interface pageConfig {
  current: number;
  total: number;
  pageSize: number;
}
